﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/TemplateUser.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@Import Namespace="ManageBanking.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>


<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderScript" runat="server">

    <link href="../../Content/css/account.css" rel="stylesheet" type="text/css" />

</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div class="center_block_top"><span>&nbsp;</span><h3>List News</h3></div>
<div class="center_block_mau_div">
      <div style="height:20px;"></div>
      <% foreach (NewsBanking n in (List<NewsBanking>)ViewData["listnews"])
       {%>
            <table class="tabletc" cellpadding="5" cellspacing="0">
                <tbody>
                    <tr>
                        <td align="right" valign="top" width="85">
                            <div class="filaden">
                                <a href='<%= Url.Action("DetailNews/" + n.idnews, "News") %>'><img width="70" height="70"  src="../../Content/images/news/<%=n.imagesnews %>" border="0"/></a>
                            </div>
                        </td>
                        <td colspan="3" valign="top">
                            <div class="div1 filaden2">
                                <a href='<%= Url.Action("DetailNews/" + n.idnews, "News") %>'><%=n.titlenews %></a>
                            </div>
                            <div class="div2 filaden1"><%=n.titlenews1%></div>
                            <a class="seemore" href='<%= Url.Action("DetailNews/" + n.idnews, "News") %>'>See more...</a>
                        </td>
                    </tr>
                </tbody>
            </table>
      <% } %>
    </div>
<div class="center_block_bottom_mau"></div>

</asp:Content>


